package wuxianshua.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import wuxianshua.service.SpilderService;

import java.io.IOException;


@Controller
public class SpliderController {

    @Autowired
    private SpilderService spilderService;

    @ResponseBody
    @RequestMapping("/spilder")
    public String spilder() throws IOException {
        return  spilderService.spilder()+"";
    }

}